package com.seguriapp.alerts.gwt.shared;

import java.util.Date;

import net.customware.gwt.dispatch.shared.Action;

public class GetAlertsDataAction implements Action<GetAlertsDataResult> {

  private Date startDate;
  private Date endDate;
  private String names;
  private double latitude;
  private double longitude;
  private int distance;
  private long policeStationId;
  private boolean searchByPolStation;
  private long page;
  private boolean ascending;
  private String columnSort;

  public Date getStartDate() {
    return startDate;
  }

  public void setStartDate(final Date startDate) {
    this.startDate = startDate;
  }

  public Date getEndDate() {
    return endDate;
  }

  public void setEndDate(final Date endDate) {
    this.endDate = endDate;
  }

  public String getNames() {
    return names;
  }

  public void setNames(final String names) {
    this.names = names;
  }

  public double getLatitude() {
    return latitude;
  }

  public void setLatitude(final double latitude) {
    this.latitude = latitude;
  }

  public double getLongitude() {
    return longitude;
  }

  public void setLongitude(final double longitude) {
    this.longitude = longitude;
  }

  public final int getDistance() {
    return distance;
  }

  public final void setDistance(final int distance) {
    this.distance = distance;
  }

  public final long getPoliceStationId() {
    return policeStationId;
  }

  public final void setPoliceStationId(final long policeStationId) {
    this.policeStationId = policeStationId;
  }

  public final boolean isSearchByPolStation() {
    return searchByPolStation;
  }

  public final void setSearchByPolStation(final boolean searchByPolStation) {
    this.searchByPolStation = searchByPolStation;
  }

  public long getPage() {
    return page;
  }

  public void setPage(final long page) {
    this.page = page;
  }

  public boolean isAscending() {
    return ascending;
  }

  public void setAscending(final boolean ascending) {
    this.ascending = ascending;
  }

  public String getColumnSort() {
    return columnSort;
  }

  public void setColumnSort(final String columnSort) {
    this.columnSort = columnSort;
  }

}
